﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KsTest
{
    class Program
    {
        static void Main(string[] args)
        {

            string path = System.Reflection.Assembly.GetEntryAssembly().CodeBase;

            string dir = Path.GetDirectoryName(path);

            Uri u = new Uri(dir);

            Directory.SetCurrentDirectory(u.LocalPath);

            string connectionString = File.ReadAllText("ConnectionString.txt");
            
            using(SqlConnection conn = new SqlConnection(connectionString))
            {

            }
        }
    }
}
